package com.slz3.business.module.configManagement.conIndexVideo.service;

import com.slz3.business.module.configManagement.conIndexVideo.domain.ConIndexVideo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.domain.Page;
import org.springframework.util.MultiValueMap;

import java.util.List;
import java.util.Optional;
import java.util.UUID;
import java.util.stream.Stream;

/**
 * 非事务型 service
 */
public interface ConIndexVideoService {

    ConIndexVideo save(ConIndexVideo conIndexVideo);

    Page<ConIndexVideo> page(MultiValueMap<String,String> queryParams);

    ConIndexVideo modify(ConIndexVideo conIndexVideo);

    Optional<ConIndexVideo> single(UUID uuid);

    List<ConIndexVideo> findAllByUuids(Iterable<UUID> uuids);

    List<ConIndexVideo> delete(List<ConIndexVideo> conIndexVideoList);
}
